<template>
  <!--<h1>El-容器组件</h1>-->
  <div class="common-layout">
    <el-container>
      <el-header>
        <h1 style="background-color:#0aa1ed; color: #fff">后台管理系统</h1>
      </el-header>
      <el-container>
        <el-aside style="margin-left: 20px">
          <el-menu mode="vertical" >
            <el-menu-item index="1" >员工管理</el-menu-item>
            <el-menu-item index="2" >轮播图管理</el-menu-item>
            <el-menu-item index="3" >商品管理</el-menu-item>
          </el-menu>
        </el-aside>
        <el-main>
          <el-table :data="arr">
            <el-table-column type="index" label="编号" width="80" align="center"></el-table-column>
            <el-table-column prop="name" label="姓名" align="center"></el-table-column>
            <el-table-column prop="age" label="年龄" align="center"></el-table-column>
            <el-table-column prop="gender" label="性别" align="center"></el-table-column>
            <el-table-column prop="mp" label="手机" align="center"></el-table-column>
            <el-table-column prop="address" label="地址"/>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import {ref} from "vue";

const arr=ref([
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
  {name:'张飞',age:18,gender:'男',mp:16811112222,address:'北京市大钟寺校区'},
]);
</script>

<style scoped>

</style>